﻿using USU.MetricsMonitor.Common;
using System.IO;

namespace USU.MetricsMonitor.LogProvider
{
    public abstract class BaseLogProvider
    {
        protected string RepositaryPath;
        protected string LogLocalDirectory;

        protected static readonly string LogFileName = "svn.log";

        protected BaseLogProvider(string repositaryPath, string logLocalDirectory)
        {
            RepositaryPath = repositaryPath;
            LogLocalDirectory = logLocalDirectory;
        }

        public abstract Stream GetLog(Revision startRevision);
        public abstract Stream GetLog(Revision startRevision, uint maxnumberOfLogEntries);
    }
}
